<?php

/**
 * MesureExploreParametre form.
 *
 * @package    appcemhti
 * @subpackage form
 * @author     Steve Cancès
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class MesureExploreParametreForm extends BaseMesureExploreParametreForm
{
    public function configure()
    {
        $q = Doctrine_Core::getTable('ParametreExplore')->getParametreExplore();
        
        $this->setWidget('id_parametre_explore', new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('ParametreExplore'), 'add_empty' => false, 'query' => $q)));
    
        //$this->widgetSchema['id_parametre_explore'] = new sfWidgetFormDoctrineChoice(array(
        //    'model' => 'ParametreExplore'
       // ));
    }
}
